Optimal. Leaf size=575 \[ -\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}-\frac {4 b^2 x}{9 a \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}+\frac {2 \sqrt {2+\sqrt {3}} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{3\ 3^{3/4} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {4 \sqrt {2} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{9 \sqrt [4]{3} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 575, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.400, Rules used = {283, 331, 241,
310, 225, 1893} \begin {gather*} -\frac {4 \sqrt {2} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{9 \sqrt [4]{3} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}+\frac {2 \sqrt {2+\sqrt {3}} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\text {ArcSin}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{b x^2+a}}\right )|-7+4 \sqrt {3}\right )}{3\ 3^{3/4} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {4 b^2 x}{9 a \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 241
Rule 283
Rule 310
Rule 331
Rule 1893
Rubi steps
\begin {align*} \int \frac {\left (a+b x^2\right )^{2/3}}{x^4} \, dx &=-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}+\frac {1}{9} (4 b) \int \frac {1}{x^2 \sqrt [3]{a+b x^2}} \, dx\\ &=-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}+\frac {\left (4 b^2\right ) \int \frac {1}{\sqrt [3]{a+b x^2}} \, dx}{27 a}\\ &=-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}+\frac {\left (2 b \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{9 a x}\\ &=-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}-\frac {\left (2 b \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-x}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{9 a x}+\frac {\left (2 \sqrt {2 \left (2+\sqrt {3}\right )} b \sqrt {b x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-a+x^3}} \, dx,x,\sqrt [3]{a+b x^2}\right )}{9 a^{2/3} x}\\ &=-\frac {\left (a+b x^2\right )^{2/3}}{3 x^3}-\frac {4 b \left (a+b x^2\right )^{2/3}}{9 a x}-\frac {4 b^2 x}{9 a \left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}+\frac {2 \sqrt {2+\sqrt {3}} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{3\ 3^{3/4} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}-\frac {4 \sqrt {2} b \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right ) \sqrt {\frac {a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^2}+\left (a+b x^2\right )^{2/3}}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac {\left (1+\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}{\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}}\right )|-7+4 \sqrt {3}\right )}{9 \sqrt [4]{3} a^{2/3} x \sqrt {-\frac {\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )}{\left (\left (1-\sqrt {3}\right ) \sqrt [3]{a}-\sqrt [3]{a+b x^2}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.02, size = 51, normalized size = 0.09 \begin {gather*} -\frac {\left (a+b x^2\right )^{2/3} \, _2F_1\left (-\frac {3}{2},-\frac {2}{3};-\frac {1}{2};-\frac {b x^2}{a}\right )}{3 x^3 \left (1+\frac {b x^2}{a}\right )^{2/3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (b \,x^{2}+a \right )^{\frac {2}{3}}}{x^{4}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.47, size = 34, normalized size = 0.06 \begin {gather*} - \frac {a^{\frac {2}{3}} {{}_{2}F_{1}\left (\begin {matrix} - \frac {3}{2}, - \frac {2}{3} \\ - \frac {1}{2} \end {matrix}\middle | {\frac {b x^{2} e^{i \pi }}{a}} \right )}}{3 x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (b\,x^2+a\right )}^{2/3}}{x^4} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________